<#--<#assign user=request.getSession().getAttribute("user")>-->

<div id="navbar" class="navbar navbar-default ace-save-state">
    <div class="navbar-container ace-save-state" id="navbar-container">
        <div class="navbar-header pull-left">
            <a href="index.html" class="navbar-brand">
                <small>
                    <i class="fa fa-leaf"></i>
                    果子英语
                </small>
            </a>
        </div>

        <div class="navbar-buttons navbar-header pull-right" role="navigation">
            <ul class="nav ace-nav" style="">
                <li class="light-blue">
                    <a href="#">
                        <img class="nav-user-photo" src="../assets/images/avatars/user.jpg" alt="Jason's Photo" />
                        <span class="user-info">
									<small>Welcome,</small>
									Admin
								</span>
                    </a>
                </li>
                <li class="light-blue">
                    <a href="javascript:void(0);" onclick="function logout() {
                              $.ajax({
                              url:'/admin/logout'
                              }).then(function(data){window.location='/home/index'})
                            }logout()">
                        <i class="ace-icon fa fa-power-off"></i>
                        注销
                    </a>
                </li>
            </ul>
        </div>
    </div><!-- /.navbar-container -->
</div>
